package com.njym.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author: yh
 * @date: 2018/9/13 16:43
 */
@TableName("reconcile_abnormal_rec")
public class ReconcileAbnormalRec extends Model<ReconcileAbnormalRec> {

    @Override
    protected Serializable pkVal() {
        return id;
    }

    /**
     * 主键
     * ID
     * isNullAble:0
     */
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 机构ID
     * isNullAble:1
     */
    private String orgId;

    /**
     * 应用渠道ID（窗口、自助机、诊间等）
     * isNullAble:1
     */
    private String channelId;

    /**
     * 应用渠道名称(窗口、自助机、诊间)
     * isNullAble:1
     */
    @TableField(exist = false)
    private String channelName;

    /**
     * 支付方式ID（微信、支付宝、银联等）
     * isNullAble:1
     */
    private String modeId;

    /**
     * 支付方式名称（微信、支付宝、银联等）
     * isNullAble:1
     */
    @TableField(exist = false)
    private String modeName;

    private Byte recType;

    /**
     * 支付平台订单号（支付宝微信等第三方支付平台订单号）
     * isNullAble:1
     */
    private String tradeNo;

    /**
     * 商户订单号
     * isNullAble:1
     */
    private String outTradeNo;

    /**
     * 平台金额
     * isNullAble:1
     */
    private BigDecimal platformFee;

    /**
     * 机构金额
     * isNullAble:1
     */
    private BigDecimal orgFee;

    /**
     * 记录类型 0为处理 1 已处理
     * isNullAble:1
     */
    private Byte status;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 更新时间
     */
    private Date updateDate;

    /**
     * 商户操作员ID
     * isNullAble:1
     */
    private String operatorId;

    /**
     * 商户操作员姓名
     * isNullAble:1
     */
    private String operatorName;


    /**
     * 逻辑删除  0 否   1是
     * isNullAble:1
     */
    @TableLogic
    private byte deleted;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getModeId() {
        return modeId;
    }

    public void setModeId(String modeId) {
        this.modeId = modeId;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public BigDecimal getPlatformFee() {
        return platformFee;
    }

    public void setPlatformFee(BigDecimal platformFee) {
        this.platformFee = platformFee;
    }

    public BigDecimal getOrgFee() {
        return orgFee;
    }

    public void setOrgFee(BigDecimal orgFee) {
        this.orgFee = orgFee;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public byte getDeleted() {
        return deleted;
    }

    public void setDeleted(byte deleted) {
        this.deleted = deleted;
    }

    public Byte getRecType() {
        return recType;
    }

    public void setRecType(Byte recType) {
        this.recType = recType;
    }
}
